package com.hgd.igreencar.dao;

import com.hgd.igreencar.entity.CarInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarInformationMapper {
    List<CarInformation> queryData(String areaName, String brandName, int currentPage, int pageSize);

    List<CarInformation> queryByOver(String areaName, String brandName, int currentPage, int pageSize);

    List<CarInformation> queryAllData(int currentPage, int pageSize);

    List<CarInformation> queryAllOverData(int currentPage, int pageSize);
}
